#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>

/**
 * 获取当前进程ID
 **/
int main(int argc, char *argv[])
{
    printf("The current process ID is %d\n",getpid());

    return 0;
}
